
all: camera fg

camera: ../common/common.h
camera: CFLAGS += -lnl -lavformat -lavcodec -lswscale -lz -lm `sdl-config --cflags --libs` -Wall -Wextra -I../common

fg: ../common/common.h
fg: CFLAGS += -lnl -lavformat -lavcodec -lswscale -lz -lm `sdl-config --cflags --libs` -Wall -Wextra -I../common

clean:
	-rm *.o camera fg